-
Home
-
ShortPixel Image Optimizer – Optimize Images, Convert WebP & AVIF
-
5.0.5
-
Code
-
Classes
- FileModel
Total Complexity |
117 |
Dependencies |
2 |
Dependents |
3 |
Total lines |
668 |
Lines of code |
420 |
Logical lines of code |
237 |
Comment lines |
121 |
Methods |
32 |
Properties |
13 |
Methods 32
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
mb_pathinfo() |
A |
48 |
14 |
34 |
relativeToFullPath() |
A |
49 |
10 |
33 |
is_file() |
A |
50 |
10 |
33 |
copy() |
S |
50 |
6 |
28 |
getBackupDirectory() |
S |
53 |
6 |
25 |
processPath() |
S |
53 |
6 |
24 |
setFileInfo() |
S |
60 |
6 |
12 |
UrlToPath() |
S |
51 |
4 |
29 |
delete() |
S |
55 |
4 |
20 |
is_writable() |
S |
57 |
4 |
20 |
create() |
S |
59 |
4 |
15 |
hasBackup() |
S |
63 |
4 |
11 |
move() |
S |
61 |
3 |
14 |
append() |
S |
60 |
3 |
13 |
getMime() |
S |
64 |
3 |
11 |
getFileDir() |
S |
67 |
3 |
8 |
exists() |
S |
65 |
3 |
9 |
getFileName() |
S |
74 |
2 |
5 |
getExtension() |
S |
74 |
2 |
5 |
getFileBase() |
S |
74 |
2 |
5 |
__construct() |
S |
67 |
2 |
8 |
getFullPath() |
S |
70 |
2 |
7 |
getFileSize() |
S |
71 |
2 |
6 |
getBackupFile() |
S |
71 |
2 |
6 |
is_virtual() |
S |
74 |
2 |
5 |
is_readable() |
S |
73 |
2 |
5 |
getRawFullPath() |
S |
82 |
1 |
3 |
getContents() |
S |
80 |
1 |
3 |
__toString() |
S |
81 |
1 |
3 |
getModified() |
S |
80 |
1 |
3 |
resetStatus() |
S |
70 |
1 |
7 |
__debuginfo() |
S |
64 |
1 |
10 |